package com.ruoyi.jjm.domain.filter;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 村民购煤订单对象 t_client_user_order
 * 
 * @author tsr
 * @date 2020-07-15
 */
public class ClientUserOrderFilter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 户ID */
    @Excel(name = "户ID")
    private Long clientUserId;

    /** 集中购煤订单ID */
    @Excel(name = "集中购煤订单ID")
    private Long supplierOrderId;

    /** 订单数量（吨） */
    @Excel(name = "订单数量", readConverterExp = "吨=")
    private BigDecimal amount;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    /** 已经付款代发货，确认收煤 */
    @Excel(name = "已经付款代发货，确认收煤")
    private Integer status;

    /** 户收煤时间 */
    @Excel(name = "户收煤时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date takeinTime;

    private String keyword;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClientUserId(Long clientUserId) 
    {
        this.clientUserId = clientUserId;
    }

    public Long getClientUserId() 
    {
        return clientUserId;
    }
    public void setSupplierOrderId(Long supplierOrderId) 
    {
        this.supplierOrderId = supplierOrderId;
    }

    public Long getSupplierOrderId() 
    {
        return supplierOrderId;
    }
    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setTakeinTime(Date takeinTime) 
    {
        this.takeinTime = takeinTime;
    }

    public Date getTakeinTime() 
    {
        return takeinTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientUserId", getClientUserId())
            .append("supplierOrderId", getSupplierOrderId())
            .append("amount", getAmount())
            .append("money", getMoney())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("status", getStatus())
            .append("takeinTime", getTakeinTime())
            .toString();
    }
}
